xsm: fix clang 3.5 build after c47d1d
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 10 Apr 2017 15:31:42 +0000 (17:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Apr 2017 15:31:42 +0000 (17:31 +0200)
commit3ceaf2e5a2eb629f2479d43a4aa6454da12a66ac
tree377ad940232834d574632bcc4921067937804b09
parentce70926b4f88d3f7510bd4699dc7fc3996539084
xsm: fix clang 3.5 build after c47d1d

The changes introduced on c47d1d broke the clang build due to undefined
references to __xsm_action_mismatch_detected, because clang hasn't optimized
the code properly. The following patch allows the clang build to work again,
while keeping the same functionality.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/include/xsm/dummy.h